package dhm.com.dhmshop.entity;

import java.util.List;

public class GoodsConsult {

    /**
     * code : 1
     * message : 获取成功
     * data : [{"id":2,"goodsId":24,"userId":0,"consultType":1,"consultContent":"是纯手工制作吗","createTime":"2020-10-13 11:27:56","reply":"是的是哦","replyTime":"2020-10-13 11:28:57","dataFlag":1,"isShow":1,"loginName":null},{"id":1,"goodsId":24,"userId":15,"consultType":2,"consultContent":"测试咨询","createTime":"2020-10-12 17:02:55","reply":"好的，好的","replyTime":"2020-10-13 11:29:20","dataFlag":1,"isShow":1,"loginName":"1893*****75_a"}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 2
         * goodsId : 24
         * userId : 0
         * consultType : 1
         * consultContent : 是纯手工制作吗
         * createTime : 2020-10-13 11:27:56
         * reply : 是的是哦
         * replyTime : 2020-10-13 11:28:57
         * dataFlag : 1
         * isShow : 1
         * loginName : null
         */

        private int id;
        private int goodsId;
        private int userId;
        private int consultType;
        private String consultContent;
        private String createTime;
        private String reply;
        private String replyTime;
        private int dataFlag;
        private int isShow;
        private String loginName;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getConsultType() {
            return consultType;
        }

        public void setConsultType(int consultType) {
            this.consultType = consultType;
        }

        public String getConsultContent() {
            return consultContent;
        }

        public void setConsultContent(String consultContent) {
            this.consultContent = consultContent;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getReply() {
            return reply;
        }

        public void setReply(String reply) {
            this.reply = reply;
        }

        public String getReplyTime() {
            return replyTime;
        }

        public void setReplyTime(String replyTime) {
            this.replyTime = replyTime;
        }

        public int getDataFlag() {
            return dataFlag;
        }

        public void setDataFlag(int dataFlag) {
            this.dataFlag = dataFlag;
        }

        public int getIsShow() {
            return isShow;
        }

        public void setIsShow(int isShow) {
            this.isShow = isShow;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }
    }
}
